package com.johnny.nob.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.validation.constraints.Size;

import com.johnny.core.hibernate.orm.IdEntity;

@Entity
public class NboEnquiry extends IdEntity {
	private String name;
	private String email;
	private String company;
	private String phone;
	private String topic;
	private String subject;
	private String message;
	private String how;
	private String nameRefferrer;
	private String companyReferrer;

	public String getNameRefferrer() {
		return nameRefferrer;
	}

	public void setNameRefferrer(String nameRefferrer) {
		this.nameRefferrer = nameRefferrer;
	}

	public String getCompanyReferrer() {
		return companyReferrer;
	}

	public void setCompanyReferrer(String companyReferrer) {
		this.companyReferrer = companyReferrer;
	}

	public String getHow() {
		return how;
	}

	public void setHow(String how) {
		this.how = how;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getCompany() {
		return company;
	}

	public void setCompany(String company) {
		this.company = company;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getTopic() {
		return topic;
	}

	public void setTopic(String topic) {
		this.topic = topic;
	}

	public String getSubject() {
		return subject;
	}

	public void setSubject(String subject) {
		this.subject = subject;
	}

	@Column
	@Size(max = 2048)
	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

}
